package com.lizb.scserviceconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//@FeignClient(name = "config-client")
//添加fallback异常处理回调
@FeignClient(name = "config-client", fallback = TestConfigServiceHystric.class)
public interface TestConfigService {

    /**
     * restful api 调用
     * @return
     */
    @GetMapping("/test-info")
    String hello();
}
